/**
 *  Eclipse Public License 1.0
 */
package org.fireblade.easysms;

import java.io.BufferedWriter;
import java.util.Calendar;
import java.util.Locale;
import java.util.Map;

import android.content.Context;

/**
 * Get the index page
 */
public class HttpActionCheckUpdate {

  /**
   * @param values
   * @param context
   * @param writer
   * @throws Exception
   */
  public static void process(Context context, Map<String, String> values, BufferedWriter writer)
    throws Exception {

    writer.write("<html>");
    writer.write("  <head>");
    // int updateInterval = 10;
    // writer.write("    <meta http-equiv=\"refresh\" content=\"" + updateInterval
    // + "; URL=/checkUpdate\">");
    writer.write("    <link rel=\"stylesheet\" href=\"/style.css\" type=\"text/css\" media=\"screen\" />");
    writer.write("  </head>");
    writer.write("    <script language=\"javascript\" type=\"text/javascript\">");
    writer.write("    </script>");
    writer.write("</html>");
  }
}
